package fr.generali.accueilclient.gwt.client.ui.components.table;

import com.google.gwt.user.cellview.client.CellTable;
import com.google.gwt.user.cellview.client.Column;

public class ColWidthSetter<T> {

    public void setColWidth(ColumnDescription description, CellTable<T> table, Column<T, ? > col) {
        if (description.getWidth() != null) {
            table.setColumnWidth(col, description.getWidth());
        }
    }

}
